These commands operate on not only remotes, but any way a repository can
be specified, including "here" etc.
Sponsored-by: Graham Spencer on Patreon
paramNumRange = "NUM|RANGE"
paramRemote :: String
paramRemote = "REMOTE"
+paramRemote :: String
+paramRemote = "REPOSITORY"
paramField :: String
paramField = "FIELD"
paramGlob :: String
cmd :: Command
cmd = command "dead" SectionSetup "hide a lost repository or key"
- (paramRepeating paramRemote) (seek <$$> optParser)
+ (paramRepeating paramRepository) (seek <$$> optParser)
data DeadOptions = DeadRemotes [RemoteName] | DeadKeys [Key]
cmd :: Command
cmd = command "semitrust" SectionSetup
"return repository to default trust level"
- (paramRepeating paramRemote) (withParams seek)
+ (paramRepeating paramRepository) (withParams seek)
seek :: CmdParams -> CommandSeek
seek = trustCommand "semitrust" SemiTrusted
cmd :: Command
cmd = command "trust" SectionSetup "trust a repository"
- (paramRepeating paramRemote) (withParams seek)
+ (paramRepeating paramRepository) (withParams seek)
seek :: CmdParams -> CommandSeek
seek = trustCommand "trust" Trusted
cmd :: Command
cmd = command "untrust" SectionSetup "do not trust a repository"
- (paramRepeating paramRemote) (withParams seek)
+ (paramRepeating paramRepository) (withParams seek)
seek :: CmdParams -> CommandSeek
seek = trustCommand "untrust" UnTrusted